// stores/user.ts
import { defineStore } from 'pinia'

export const useSysloadingStore = defineStore('sysloading', {
    state:()=>({
        fullScreenFlag:false,
    }),
    getters:{
        getFullScreenFlag:(state):boolean=>{
            return state.fullScreenFlag
        }
    },
    actions:{
        setFullScreenFlag(loadingFlag:boolean){
            this.$state.fullScreenFlag = loadingFlag
        }
    }
})